/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * PaiFrame.java
 *
 * Created on 13/03/2010, 17:08:12
 */

package br.com.janalise.view;

import br.com.janalise.system.Configurar;
import java.awt.Toolkit;

/**
 *
 * @author boskyn9
 */
    public abstract class PaiFrame extends javax.swing.JFrame {

    /** Creates new form PaiFrame */

    public static String repositorio = Configurar.getInstance().getPathRepositorio();

    public java.awt.Image mainicon = Toolkit.getDefaultToolkit().getImage(getClass().getResource("/imagens/main.png"));


    public PaiFrame() {
        initComponents();
        this.setIconImage(mainicon);
        this.setTitle(repositorio);
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 604, Short.MAX_VALUE)
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 404, Short.MAX_VALUE)
        );

        java.awt.Dimension screenSize = java.awt.Toolkit.getDefaultToolkit().getScreenSize();
        setBounds((screenSize.width-610)/2, (screenSize.height-430)/2, 610, 430);
    }// </editor-fold>//GEN-END:initComponents

    // Variables declaration - do not modify//GEN-BEGIN:variables
    // End of variables declaration//GEN-END:variables

}
